package com.opgea.crm.services;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.opgea.crm.domain.entities.ProjectEstimationHistory;
import com.opgea.crm.repository.ProjectEstimationRepo;

@Service
public class ProjectEstimationServiceImpl implements ProjectEstimationService {
	
	@Autowired
	ProjectEstimationRepo projectEstimationRepo; 

	@Transactional(propagation = Propagation.REQUIRED)
	public void create(ProjectEstimationHistory projectEstimationHistory) {
		projectEstimationRepo.create(projectEstimationHistory);
		
	}

	
	public ProjectEstimationHistory find(Long id) {
		return projectEstimationRepo.find(id);
	}

	
	public void remove(Long id) {
		// TODO Auto-generated method stub
		
	}

	
	public void update(ProjectEstimationHistory projectEstimationHistory) {
		// TODO Auto-generated method stub
		
	}

}
